package com.chenjie.executor.day09;

/**
 * packageName com.chenjie.executor.day09
 *
 * @author chenjie
 * @version JDK 8
 * @className Task (此处以class为例)
 * @date 2024/5/27
 * @description TODO
 */
public class ValueTask implements  Runnable{
    public static Integer value=0;
    @Override
    public void run() {
        try {
            Thread.sleep(3000L);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        System.out.println("ValueTask执行了");
        value=100;
    }
}
